package io.geekidea.boot.headquarters.dto;//package io.geekidea.boot.materials.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;


@Data

public class HeadquartersDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("code")
    private String code;

    @TableField("dutyParagraph")
    private String dutyParagraph;

    @TableField("typeId")
    private Integer typeId;

    @TableField("supplierId")
    private Integer supplierId;

    @TableField("status")
    private String status;

    /**
     * 成本价
     */
    @TableField("costprice")
    private double costprice;

}
